package com.bookstore.admin.orders.dao;

import com.bookstore.commons.beans.Order;
import com.bookstore.commons.beans.OrderItem;

import java.util.List;

public interface IOrdersDao {
    List<Order> selectAllOrders();

    List<Order> selectByManyCondition(Order order);


    Order selectOrderById(Order order);


    List<OrderItem> selectOrderItemById(String id);


    void deleteOrdersById(String id);

    void deleteOrdersItemById(String id);
}
